<?php
class Rxy_ctl extends Ctl{
    function __construct(){
    }
    function main(array $xxfget) {
        $this::sessver();
        $type=!empty($xxfget['type'])?$xxfget['type']:false;
        if(!$type){
        	$result=xdb::getInstance()->getarray("select px.id as puid,pname,puname,mphone,workunit,flevel,fangnum,ftime,zlevel,fbeizhu,zbeizhu,ztime from peixunban as pb,peixunxueyuan as px where pb.id=px.pid and (stime<='".date("Y-m-d")."' and etime>='".date("Y-m-d")."')");
			$this::show('rxy',compact('result'));
        }
    }
}